<?php

use think\Route;

//重新配置文件
Route::post("fileByConfigure","Admin/Upload/fileByConfigure");
//登录页面
Route::get("login","Login/Login/login");
Route::post("getLogin","Login/Login/getLogin");
//注册页面
Route::get("register","Login/Register/register");
Route::post("getRegister","Login/Register/getRegister");
//用户管理
Route::get("User","Admin/User/user");
Route::post("User/disableByEnable","Admin/User/disableByEnable");
Route::get("UserEdit","Admin/User/edit");
Route::post("UserEdit","Admin/User/edit");
Route::post("getEnable","Admin/User/getEnable");
//添加用户
Route::get("User/add","Admin/User/add");
Route::post("User/add","Admin/User/add");
//用户修改密码
Route::get("User/Password","Admin/User/Password");
Route::post("User/Password","Admin/User/Password");
//修改用户信息
Route::get("User/EditInfo","Admin/User/EditInfo");
Route::post("User/EditInfo","Admin/User/EditInfo");
//退出登录
Route::post("Logout","Admin/User/Logout");
//配置管理
Route::get("Config","Admin/Config/index");
Route::post("Config","Admin/Config/index");
//图片管理
Route::get("Upload","Admin/Upload/index");
Route::post("Upload/delete","Admin/Upload/delete");
Route::get("Upload/getUpload","Admin/Upload/getUpload");
Route::post("Upload/getDel","Admin/Upload/getDel");
Route::post("Upload/pictureEnlarge","Admin/Upload/picture");
//图片批量删除
Route::post("Upload/getDelete","Admin/Upload/getDelete");
//清空缓存
Route::post("getCaching","Admin/Upload/getCaching");
//清除令牌缓存
Route::post("getToken","Admin/Upload/getToken");
//文件编辑器上传图片
//Route::post("lay_img_upload","Admin/Upload/lay_img_upload");